package com.iflytek.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iflytek.common.annotation.Excel;
import com.iflytek.common.core.domain.BaseEntity;

/**
 * 题库管理对象 tb_question_summary
 * 
 * @author Dogdog
 * @date 2024-07-06
 */
public class TbQuestionSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题库id */
    private Long id;

    /** 创建人 */
    private Long userId;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String name;

    /** 题库分类（Java，大数据） */
    @Excel(name = "题库分类", readConverterExp = "J=ava，大数据")
    private String category;

    /** 单选数量 */
    @Excel(name = "单选数量")
    private Long singleNum;

    /** 多选数量 */
    @Excel(name = "多选数量")
    private Long multipleNum;

    /** 判断数量 */
    @Excel(name = "判断数量")
    private Long judgeNum;

    /** 简答数量 */
    @Excel(name = "简答数量")
    private Long shortAnswerNum;

    /** 0停用，1启用 */
    @Excel(name = "0停用，1启用")
    private Integer status;

    /** 题库介绍图 */
    @Excel(name = "题库介绍图")
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setSingleNum(Long singleNum) 
    {
        this.singleNum = singleNum;
    }

    public Long getSingleNum() 
    {
        return singleNum;
    }
    public void setMultipleNum(Long multipleNum) 
    {
        this.multipleNum = multipleNum;
    }

    public Long getMultipleNum() 
    {
        return multipleNum;
    }
    public void setJudgeNum(Long judgeNum) 
    {
        this.judgeNum = judgeNum;
    }

    public Long getJudgeNum() 
    {
        return judgeNum;
    }
    public void setShortAnswerNum(Long shortAnswerNum) 
    {
        this.shortAnswerNum = shortAnswerNum;
    }

    public Long getShortAnswerNum() 
    {
        return shortAnswerNum;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("category", getCategory())
            .append("singleNum", getSingleNum())
            .append("multipleNum", getMultipleNum())
            .append("judgeNum", getJudgeNum())
            .append("shortAnswerNum", getShortAnswerNum())
            .append("status", getStatus())
            .append("img", getImg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
